package com.bestcem.xm.ticket.enums;

import lombok.Getter;
import lombok.ToString;

/**
 * @author liheng
 * @version v1.0
 * @date 2021/8/16 11:14
 */
@Getter
@ToString
public enum TicketConfigCreateTriggerEnum {

    /**
     *
     */
    ENABLE(0, "ALL_ALERT_RULES"),

    /**
     *
     */
    DISABLE(1, "CUSTOM_ALERT_RULES");

    private final String name;

    private final int index;

    TicketConfigCreateTriggerEnum(int index, String name) {
        this.name = name;
        this.index = index;
    }
}
